<?php
echo $this->Session->read('Auth.User.id');
?>
<script type="text/javascript">
document.write('i am here');
</script>
